home *** CD-ROM | disk | FTP | other *** search
-
-
-
- mmmmuuuunnnnmmmmaaaapppp((((2222)))) mmmmuuuunnnnmmmmaaaapppp((((2222))))
-
-
-
- NNNNAAAAMMMMEEEE
- _mmmm_uuuu_nnnn_mmmm_aaaa_pppp - unmap pages of memory
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>>
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_mmmm_mmmm_aaaa_nnnn_...._hhhh_>>>>
- _iiii_nnnn_tttt _mmmm_uuuu_nnnn_mmmm_aaaa_pppp_((((_vvvv_oooo_iiii_dddd _****_aaaa_dddd_dddd_rrrr_,,,, _ssss_iiii_zzzz_eeee______tttt _llll_eeee_nnnn_))))_;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The function _mmmm_uuuu_nnnn_mmmm_aaaa_pppp removes the mappings for pages in the range [_a_d_d_r,
- _a_d_d_r + _l_e_n). Further references to these pages will result in the
- delivery of a _SSSS_IIII_GGGG_SSSS_EEEE_GGGG_VVVV signal to the process.
-
- If the region being detached via _mmmm_uuuu_nnnn_mmmm_aaaa_pppp(2) belongs to a shared address
- space, and I/O is being done to this range by a process belonging to the
- same shared group, _mmmm_uuuu_nnnn_mmmm_aaaa_pppp(2) would fail returning _EEEE_BBBB_UUUU_SSSS_YYYY. The specified
- virtual address range would not be unmapped from the shared address space
- unless it spans multiple contiguous regions in which case part of the
- address range (before the region causing the error) may be unmapped
- before _EEEE_BBBB_UUUU_SSSS_YYYY is returned.
-
- The function _mmmm_mmmm_aaaa_pppp often performs an implicit _mmmm_uuuu_nnnn_mmmm_aaaa_pppp.
-
- Note that when _mmmm_uuuu_nnnn_mmmm_aaaa_pppp is called by a process which is a member of a
- shared process group, the unmapping operation is relatively more
- expensive than it is for an independent process. This is because the
- _mmmm_uuuu_nnnn_mmmm_aaaa_pppp system call must synchronize the removal of the address space with
- the other processes in the share group. Refer to the _ssss_pppp_rrrr_oooo_cccc(2) manual
- entry for more information on shared process groups.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- On success, _mmmm_uuuu_nnnn_mmmm_aaaa_pppp returns _0000; on failure, _mmmm_uuuu_nnnn_mmmm_aaaa_pppp returns _----_1111 and sets
- _eeee_rrrr_rrrr_nnnn_oooo to indicate an error.
-
- EEEERRRRRRRROOOORRRRSSSS
- Under the following conditions, the function _mmmm_uuuu_nnnn_mmmm_aaaa_pppp fails and sets _eeee_rrrr_rrrr_nnnn_oooo
- to:
-
- _EEEE_IIII_NNNN_VVVV_AAAA_LLLL _a_d_d_r is not a multiple of the page size as returned by _ssss_yyyy_ssss_cccc_oooo_nnnn_ffff.
-
- _EEEE_IIII_NNNN_VVVV_AAAA_LLLL Addresses in the range [_a_d_d_r, _a_d_d_r + _l_e_n) are outside the valid
- range for the address space of a process.
-
- _EEEE_IIII_NNNN_VVVV_AAAA_LLLL The argument _l_e_n has a value less than or equal to _0000.
-
- _EEEE_BBBB_UUUU_SSSS_YYYY The address range specified has some active _IIII_////_OOOO initiated by some
- other process belonging to same share group.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- mmmmuuuunnnnmmmmaaaapppp((((2222)))) mmmmuuuunnnnmmmmaaaapppp((((2222))))
-
-
-
- SEE ALSO
- _mmmm_mmmm_aaaa_pppp(2), _ssss_iiii_gggg_nnnn_aaaa_llll(2), _ssss_yyyy_ssss_cccc_oooo_nnnn_ffff(3C).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-